package com.iqiyi.pps.epg.core.service.auth.security;

import org.springframework.security.web.savedrequest.HttpSessionRequestCache;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by IntelliJ IDEA.
 * User: lishunlong
 * Date: 12-1-9
 * Time: 下午12:13
 * To change this template use File | Settings | File Templates.
 */
public class RequestCacheImpl extends HttpSessionRequestCache{
    public void saveRequest(HttpServletRequest request, HttpServletResponse response) {
        if(request.getRequestURI().contains(".action")) {
            super.saveRequest(request, response);
        }
    }
}
